import Vue from 'vue'
import './cube-ui'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import 'amfe-flexible'
import Toast from 'cube-ui';
import setAxiosFilter from './axiosFilter'
import { set } from 'core-js/core/dict'


setAxiosFilter();
let VUE_APP_BASE_DEV_API = 'http://175.24.182.42:8083'
//设置请求url
axios.defaults.baseURL = VUE_APP_BASE_DEV_API
//设请求头
axios.defaults.headers.common['Content-Type'] = 'application/json;charset=UTF-8'
axios.defaults.headers.post['Accept'] = 'application/json'


Vue.config.productionTip = false
Vue.prototype.$http=axios



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
